package com.glory.huaweipda.bean;



import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class TrackIn implements Serializable {

    /**
     * Body : {"CustomerName":"Eqp5","Lots":[{"lotid":"lot01"}],"RecipeName":"Eqp4","StepName":"Eqp3","eqpid":"Eqp1","eqpstate":"Eqp2"}
     * Header : {"EVENTTIME":"20191031171008108","MACHINENAME":"EAP","MESSAGENAME":"GetEQPLotInfo","TRANSACTIONID":"244655aa-b3fa-4227-abda-9c0cafb53b43"}
     * Return : {"RETURNCODE":"0","RETURNMESSAGE":""}
     */

    private BodyBean Body;
    private HeaderBean Header;
    private ReturnBean Return;

    public BodyBean getBody() {
        return Body;
    }

    public void setBody(BodyBean Body) {
        this.Body = Body;
    }

    public HeaderBean getHeader() {
        return Header;
    }

    public void setHeader(HeaderBean Header) {
        this.Header = Header;
    }

    public ReturnBean getReturn() {
        return Return;
    }

    public void setReturn(ReturnBean Return) {
        this.Return = Return;
    }

    public static class BodyBean implements Serializable {
        /**
         * CustomerName : Eqp5
         * Lots : [{"lotid":"lot01"}]
         * RecipeName : Eqp4
         * StepName : Eqp3
         * eqpid : Eqp1
         * eqpstate : Eqp2
         */

        private String CustomerName;
        private String RecipeName;
        private String StepName;
        private String eqpid;
        private String eqpstate;
        private List<LotsBean> Lots;

        public String getCustomerName() {
            return CustomerName;
        }

        public void setCustomerName(String CustomerName) {
            this.CustomerName = CustomerName;
        }

        public String getRecipeName() {
            return RecipeName;
        }

        public void setRecipeName(String RecipeName) {
            this.RecipeName = RecipeName;
        }

        public String getStepName() {
            return StepName;
        }

        public void setStepName(String StepName) {
            this.StepName = StepName;
        }

        public String getEqpid() {
            return eqpid;
        }

        public void setEqpid(String eqpid) {
            this.eqpid = eqpid;
        }

        public String getEqpstate() {
            return eqpstate;
        }

        public void setEqpstate(String eqpstate) {
            this.eqpstate = eqpstate;
        }

        public List<LotsBean> getLots() {
            return Lots;
        }

        public void setLots(List<LotsBean> Lots) {
            this.Lots = Lots;
        }

        public static class LotsBean implements Serializable {
            /**
             * lotid : lot01
             */

            private String lotid;

            public String getLotid() {
                return lotid;
            }

            public void setLotid(String lotid) {
                this.lotid = lotid;
            }
        }

        @Override
        public String toString() {
            return "BodyBean{" +
                    "CustomerName='" + CustomerName + '\'' +
                    ", RecipeName='" + RecipeName + '\'' +
                    ", StepName='" + StepName + '\'' +
                    ", eqpid='" + eqpid + '\'' +
                    ", eqpstate='" + eqpstate + '\'' +
                    ", Lots=" + Lots +
                    '}';
        }
    }

    public static class HeaderBean implements Serializable {
        /**
         * EVENTTIME : 20191031171008108
         * MACHINENAME : EAP
         * MESSAGENAME : GetEQPLotInfo
         * TRANSACTIONID : 244655aa-b3fa-4227-abda-9c0cafb53b43
         */

        @SerializedName("EVENTTIME")
        private String eventtime;
        @SerializedName("MACHINENAME")
        private String machinename;
        @SerializedName("MESSAGENAME")
        private String messagename;
        @SerializedName("TRANSACTIONID")
        private String transactionid;

        public String getEventtime() {
            return eventtime;
        }

        public void setEventtime(String eventtime) {
            this.eventtime = eventtime;
        }

        public String getMachinename() {
            return machinename;
        }

        public void setMachinename(String machinename) {
            this.machinename = machinename;
        }

        public String getMessagename() {
            return messagename;
        }

        public void setMessagename(String messagename) {
            this.messagename = messagename;
        }

        public String getTransactionid() {
            return transactionid;
        }

        public void setTransactionid(String transactionid) {
            this.transactionid = transactionid;
        }
    }

    public static class ReturnBean implements Serializable {
        /**
         * RETURNCODE : 0
         * RETURNMESSAGE :
         */

        @SerializedName("RETURNCODE")
        private String returncode;
        @SerializedName("RETURNMESSAGE")
        private String returnmessage;

        public String getReturncode() {
            return returncode;
        }

        public void setReturncode(String returncode) {
            this.returncode = returncode;
        }

        public String getReturnmessage() {
            return returnmessage;
        }

        public void setReturnmessage(String returnmessage) {
            this.returnmessage = returnmessage;
        }
    }

    @Override
    public String toString() {
        return "TrackIn{" +
                "Body=" + Body +
                ", Header=" + Header +
                ", Return=" + Return +
                '}';
    }
}
